/**   
 * @Title: HelloControler.java 
 * @Package org.demo.sprindcloud.client.control 
 * @Description: TODO(用一句话描述该文件做什么) 
 * @author huaying
 * @date 2019年7月17日 
 * @version V1.0   
*/
package org.demo.sprindcloud.feign.control;

import org.demo.sprindcloud.feign.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/** 
 * @ClassName: HelloControler 
 * @Description: TODO(这里用一句话描述这个类的作用) 
 * @author huaying
 * @date 2019年7月17日 
*/
@RestController
public class HelloControler {
	@Autowired
	HelloService helloService;
    @RequestMapping(value = "/hi")
    public String hi(@RequestParam String name){
        return helloService.hiService1(name);
    }
}
